@font-face {
  font-family: "tttgbnumber";
  src: url("../../font/tttgbnumber.ttf");
  font-weight: normal;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}
body {
  font-size: 16px;
  color: #1e1f20;
  max-width: 680px;
  transform: scale(1.5);
  transform-origin: 0 0;
}
.container {
  padding: 20px 20px;
  background-color: #f5f1eb;
  position: relative;
}
.main_box {
  margin-bottom: 40px;
}
.base_info {
  display: flex;
  position: relative;
  margin-bottom: 9px;
  color: #504c49;
  font-family: tttgbnumber;
  font-size: 24px;
  padding: 0 10px;
}
.base_info .id {
  flex: 1;
  line-height: 18px;
  padding-left: 10px;
}
.base_info .id:before {
  content: " ";
  position: absolute;
  width: 5px;
  height: 24px;
  border-radius: 1px;
  left: 10px;
  top: -3px;
  background: #d3bc8d;
}
.base_info .day {
  line-height: 18px;
}
.ele_info {
  display: flex;
  margin: 30px 0px 14px 0px;
  padding: 0 10px 10px 0px;
  position: relative;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}
.tab-line {
  position: absolute;
  bottom: 0;
  left: 2%;
  z-index: 1;
  height: 1px;
  background: #eae4db;
  width: 96%;
}
.ele_info .area {
  position: relative;
}
.tab-item-icon {
  width: 36px;
  height: 36px;
  position: absolute;
  background: #c3b6aa;
  z-index: 2;
  border-radius: 50%;
  left: 21px;
  top: 7px;
}
.tab-item-left {
  background: url();
  background-size: 80px 50px;
  height: 50px;
  width: 80px;
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
}
.tab-item-middle {
  z-index: 0;
  height: 50px;
  background-image: url();
  background-repeat: repeat-x;
  background-size: contain;
  position: absolute;
  left: 40px;
  right: 40px;
  width: auto;
}
.tab-item-right {
  background: url();
  background-size: 80px 50px;
  height: 50px;
  width: 80px;
  z-index: 1;
  position: absolute;
  right: 0;
  top: 0;
}
.tab-item-text {
  position: relative;
  z-index: 2;
  color: #504c49;
  font-weight: 700;
  font-size: 26px;
  height: 50px;
  line-height: 50px;
  padding-left: 70px;
  padding-right: 40px;
}
.ele_box {
  display: flex;
}
.ele_box .ele_name {
  font-size: 26px;
  color: #504c49;
  font-weight: 600;
  line-height: 50px;
  margin-right: 10px;
}
.ele_box .ele_img {
  display: flex;
}
.ele_box .ele_img .img_item {
  width: 50px;
  height: 50px;
  background-image: url(./item_bg.png);
  background-size: 100%;
  background-repeat: no-repeat;
  margin-right: 3px;
}
.ele_box .ele_img .img_item img {
  padding: 4px;
  width: 100%;
  height: 100%;
}
.item_box {
  display: flex;
  flex-wrap: wrap;
}
.item {
  margin: 0px 0 10px 10px;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 3px 6px 0 rgb(132 93 90 / 40%);
  width: 95px;
  background: #e9e5dc;
}
.role_box {
  overflow: hidden;
  height: 95px;
  width: 95px;
  position: relative;
  background: #e9e5dc;
}
.role_box .role_img {
  width: 100%;
  overflow: hidden;
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  /*filter: contrast(95%);*/
}
.talent {
  height: 23px;
  padding: 3px 3px;
  display: flex;
  justify-content: center;
  font-size: 16px;
  color: #222;
  font-family: tttgbnumber;
}
.talent-item {
  width: 20px;
  height: 16px;
  line-height: 17px;
  margin: 0 3px;
  text-align: center;
  display: block;
  background-size: contain;
  opacity: 0.8;
  position: relative;
  border-radius: 3px;
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);
}
.bg105 {
  background-image: url(../../img/other/bg105.png);
  width: 100%;
  height: 95px;
  background-size: 100%;
  background-repeat: no-repeat;
}
.bg5 {
  background-image: url(../../img/other/bg5.png);
  width: 100%;
  height: 95px;
  /*filter: brightness(1.1);*/
  background-size: 100%;
  background-repeat: no-repeat;
}
.bg4 {
  width: 100%;
  height: 95px;
  background-image: url(../../img/other/bg4.png);
  background-size: 100%;
  background-repeat: no-repeat;
}
.item .text_box {
  font-size: 12px;
  background: #e9e5dc;
  padding: 5px 0px 4px 0px;
  font-family: tttgbnumber;
  display: flex;
  align-items: flex-start;
}
.item .text_box .weapon_box {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 2px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.6);
  overflow: hidden;
  margin-left: 3px;
}
.item .text_box .weapon_boder {
  border: 1px solid #d3bc8d;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  overflow: hidden;
}
.item .text_box .weapon_img {
  width: 100%;
  transform: scale(1.2, 1.2);
}
.item .text_box .weapon_name_box {
  margin-left: 3px;
  white-space: nowrap;
}
.item .text_box .weapon_name_box .weapon_level {
  margin-top: 2px;
}
.item .text_box .weapon_affix {
  border-radius: 2px;
  background-color: #ff5722;
  padding: 2px 3px;
  color: #fff;
  display: inline-block;
  transform: scale(0.8);
  transform-origin: 12px 7px;
}
.role_box .fill_img {
  position: absolute;
  width: 15px;
  right: 0;
  bottom: 17px;
}
.role_box .desc {
  font-weight: 500;
  text-align: center;
  line-height: 22px;
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #ececec;
  width: 100%;
  height: 22px;
  font-size: 16px;
  font-family: tttgbnumber;
}
.role_box .role_name {
  /* overflow: hidden; */
  white-space: nowrap;
  margin-top: 5px;
  font-weight: 500;
  text-align: center;
  font-size: 14px;
  /*margin-top: 5px;*/
}
.role_box .life {
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 9;
  font-size: 16px;
  text-align: center;
  color: #fff;
  border-radius: 2px;
  padding: 1px 3px;
  border-radius: 3px;
  font-family: "tttgbnumber";
}
.life1 {
  background-color: #62a8ea;
}
.life2 {
  background-color: #62a8ea;
}
.life3 {
  background-color: #45b97c;
}
.life4 {
  background-color: #45b97c;
}
.life5 {
  background-color: #ff5722;
}
.life6 {
  background-color: #ff5722;
}
.base_info span {
  margin-left: 5px;
}
.avatar {
  height: 24px;
  width: 24px;
  background-color: #ffb285;
  vertical-align: -5px;
  margin-left: 2px;
  margin-right: 3px;
  border: 1px solid #ffb285;
  border-radius: 100%;
}
.heart {
  background-image: url(./心形.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 10;
  color: #fff;
  font-family: tttgbnumber;
  text-align: center;
  font-size: 12px;
  margin-left: 5px;
  display: inline-block;
  width: 15px;
}
.fetter {
  display: inline-block;
  transform: scale(0.8);
}
.explain {
  color: #757c83;
  font-size: 16px;
  position: absolute;
  left: 30px;
  bottom: 10px;
}

.weapon_box {
  display: flex;
  flex-wrap: wrap;
}
.weapon_item {
  width: 65px;
  margin: 0px 0 10px 12px;
  position: relative;
}
.weapon_role_box {
  overflow: hidden;
  height: 80px;
  border-radius: 5px;
  position: relative;
  /*border: 2px solid #d3bc8d;*/
  background: #e9e5dc;
  box-shadow: 0 2px 6px 0 rgb(132 93 90 / 30%);
}
.weapon_role_box .weapon_role_img {
  width: 100%;
  overflow: hidden;
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  /*filter: contrast(95%);*/
}
.weapon_bg5 {
  background-image: url(../../img/other/bg5.png);
  width: 100%;
  height: 70px;
  /*filter: brightness(1.1);*/
  background-size: 100%;
  background-repeat: no-repeat;
}
.weapon_bg4 {
  width: 100%;
  height: 70px;
  background-image: url(../../img/other/bg4.png);
  background-size: 100%;
  background-repeat: no-repeat;
}
.weapon_bg3 {
  width: 100%;
  height: 70px;
  background-image: url(../../img/other/bg3.png);
  background-size: 100%;
  background-repeat: no-repeat;
}
.weapon_bg2 {
  width: 100%;
  height: 70px;
  background-image: url(../../img/other/bg3.png);
  background-size: 100%;
  background-repeat: no-repeat;
}
.weapon_bg1 {
  width: 100%;
  height: 70px;
  background-image: url(../../img/other/bg3.png);
  background-size: 100%;
  background-repeat: no-repeat;
}
.weapon_role_box .fill_img {
  position: absolute;
  width: 15px;
  right: 0;
  bottom: 17px;
}
.weapon_role_box .desc_1 {
  font-weight: 500;
  text-align: center;
  line-height: 18px;
  position: absolute;
  bottom: 0;
  background: #e9e5dc;
  width: 100%;
  height: 18px;
  font-size: 14px;
  font-family: "tttgbnumber";
}
.role_name {
  overflow: hidden;
  white-space: nowrap;
  margin-top: 5px;
  font-weight: 500;
  text-align: center;
  font-size: 14px;
  /*margin-top: 5px;*/
}
.weapon_role_box .life {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 9;
  font-size: 13px;
  text-align: center;
  color: #fff;
  border-radius: 2px;
  padding: 1px 4px;
  border-radius: 3px;
  font-family: "tttgbnumber";
}
.life1 {
  background-color: #62a8ea;
}
.life2 {
  background-color: #62a8ea;
}
.life3 {
  background-color: #62a8ea;
}
.life4 {
  background-color: #ff5722;
}
.life5 {
  background-color: #ff5722;
}
.weapon_user {
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 9;
  font-size: 12px;
  text-align: center;
  color: #fff;
  padding: 1px 3px;
  border-radius: 100%;
  border: 1px solid #fff;
  width: 24px;
  height: 24px;
  background-color: #4e5362;
}
.user_img {
  width: 32px;
  position: absolute;
  top: -12px;
  right: -5px;
}
